About
-
Designed to replace Java, due to much easier-to-read syntax.
-
Default access control: Public.
-
Although the global default is
public, Kotlin usesprivatefor members defined within nested or local classes when no visibility is specified.
class MyClass { private class PrivateClass { } // Private by default } -
Compatibility
-
Multiplatform:
-
Widely used for Android development.
-
-
Java:
-
Compatible with Java, as the compiled code becomes Java.
-
-
JavaScript:
-
"Can also be compiled to JavaScript, Native LLVM, and any JVM, making it suitable for building web applications."
-
Impressions
-
I was quite discouraged by how verbose the language can be, etc. Not great for Godot.
-
Didn't impress me, but seemed solid.
-
I like having 'first-class functions'.